import request from "@/utils/request";

// 获取服务部用户诊断记录
export function getStoreDiagnosisRecord(query) {
  return request({
    url: "/seller/sellerStoreDiagnosisRecord/getStoreDiagnosisRecord",
    method: "get",
    params: query
  })
}


// 上传诊断记录
export function addStoreDiagnosisRecord(query) {
  return request({
    url: "/seller/sellerStoreDiagnosisRecord/addStoreDiagnosisRecord",
    method: "post",
    data: query
  })
}


// 获取用户诊断记录
export function getMyselfStoreDiagnosisRecord(query) {
  return request({
    url: "/seller/sellerStoreDiagnosisRecord/getMyselfStoreDiagnosisRecord",
    method: "get",
    params: query
  })
}

// 查看是否有新的诊断记录
export function checkNewDiagnosticRecords(query) {
  return request({
    url: "/seller/sellerStoreDiagnosisRecord/checkNewDiagnosticRecords",
    method: "get",
    params: query
  })
}

// 确认查看诊断记录
export function confirmDiagnosticRecord(query) {
  return request({
    url: "/seller/sellerStoreDiagnosisRecord/confirmDiagnosticRecord",
    method: "get",
    params: query
  })
}
